
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '加盟商管理制度',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'glzdfl_90ec3913_ub3n',
        name: "{{glzdfl_90ec3913_ub3n}}",
        binding: 'glzdfl',
        updateOn: 'blur',
        defaultI18nValue: '管理制度分类',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    glzdfl: FormControl;

    @NgFormControl({
        id: 'glzdbh_3fa4742c_3qvt',
        name: "{{glzdbh_3fa4742c_3qvt}}",
        binding: 'glzdbh',
        updateOn: 'blur',
        defaultI18nValue: '管理制度编号',
        validRules: [
            {
                type: 'required',
                constraints: [true],
            },
            {
                type: 'matches',
                constraints: [''],
            }
        ]
    })
    glzdbh: FormControl;

    @NgFormControl({
        id: 'glzdbz_b816d9b2_maa5',
        name: "{{glzdbz_b816d9b2_maa5}}",
        binding: 'glzdbz',
        updateOn: 'blur',
        defaultI18nValue: '管理制度备注',
    })
    glzdbz: FormControl;

}